﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace 工业设备监控系统
{
    public partial class Logic : Form
    {
        private MainFrm mainFrm;

        public Logic()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            //if (txt_account.Text == "admin" && txt_password.Text == "123")
            //{
            //    mainFrm = new MainFrm(1);
            //    mainFrm.Show();
            //}
            //else if (txt_account.Text == "qqq" && txt_password.Text == "123")
            //{
            //    mainFrm = new MainFrm(0);
            //    mainFrm.Show();
            //}
            //else
            //{
            //    MessageBox.Show("你输入的有误！");
            //}
            //this.Hide();
        }
    }
}